package com.ticket.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@ApiModel(description = "绑定用户对象")
public class UserInfoVo
{
    /** 名字 */
    @NotNull(message = "姓名不可以为空")
    @ApiModelProperty(value = "姓名")
    @Size(min = 0, max = 20, message = "姓名长度不能超过20个字符")
    private String userName;

    /** 证件类型，0:未知，1：身份证，2：护照 */
    @ApiModelProperty(value = "证件类型，0:未知，1：身份证，2：护照")
    private Integer idType;

    /** 证件号码 */
    @NotNull(message = "证件号码不可以为空")
    @ApiModelProperty(value = "证件号码")
    @Size(min = 11, max = 19, message = "证件号码长度不能超过19个字符")
    private String idNumber;

    /** 加密（替换*）后的证件号码 */
    @ApiModelProperty(value = "加密（替换*）后的证件号码")
    private String encryptIdNumber;

    @ApiModelProperty(value = "关联id")
    private String id;

    @ApiModelProperty(value = "观影人id")
    private Long userinfoId;
    public Long getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Long userinfoId) {
        this.userinfoId = userinfoId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setIdType(Integer idType) 
    {
        this.idType = idType;
    }

    public Integer getIdType() 
    {
        return idType;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public String getEncryptIdNumber() {
        return encryptIdNumber;
    }

    public void setEncryptIdNumber(String encryptIdNumber) {
        this.encryptIdNumber = encryptIdNumber;
    }
}
